home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ARexxTools / dofile20.lha / dofile / dofile.readme next >
Encoding:
Text File  |  1996-01-02  |  2.1 KB  |  62 lines

  1.  
  2.     dofile.rexx 2.0 - by Rolf Rotvel.
  3.     
  4.     DESCRIPTION
  5.     Recognizes type of file using datatypes.library and launches
  6.     corresponding viewer.
  7.  
  8.     Now you can use your favorite GIF, JPEG, etc viewer instead of Multiview
  9.     and still have the advantages of the datatypes.library filetype
  10.     recognition.
  11.  
  12.     Very usefull when installed as a do-it-all appicon in Toolmanager (You
  13.     can use the enclosed app.info), but also works nicely from CLI.
  14.  
  15.     REQUIREMENTS
  16.     Workbench 3.x with lots of datatypes installed. Rexxreqtools.library.
  17.  
  18.     CONFIGURATION
  19.     Edit the config section of the script. You probably only need to change
  20.     the defdir line. 
  21.  
  22.     Edit the enclosed DoFile.prefs file. The format is <filetype> <command>
  23.     where <filetype> is what datatypes.library knows the file as and 
  24.     <command> is the corresponding viewer/player/editor/etc. <command> must 
  25.     be enclosed in quotes. 
  26.     If in doubt about the <filetype) you can either run Multiview on the 
  27.     file and check the about requester or use the enclosed getdtyp.rexx 
  28.     script. 
  29.     Some examples:
  30.     GIF "cc:visage"
  31.     Amiga .info File "cc:fasticon"
  32.  
  33.     There are two exceptions to the prefs file format: When DoFile
  34.     encounters an ascii or a binary file it will check the file for any 
  35.     suffix or prefix (Eg: .lha or MOD.). You can then have separate entries 
  36.     for C source files, Arexx scripts, modules etc The format is <extension> 
  37.     <command> (Don't worry about case). Examples: 
  38.     .REXX "c:edit"
  39.     S3M. "c:moduleplayer"
  40.     
  41.     Copy the prefs file to envarc: and env: or whereever you want to put it.
  42.  
  43.     NOTES ON USAGE
  44.     If you pass a directory or nothing as argument it will open a 
  45.     filerequester. 
  46.  
  47.     It handles spaces in filenames pefectly. Both from WB and CLI. 
  48.  
  49.     COPYRIGHT
  50.     No copyright. Do whatever you want with this.
  51.  
  52.     DISCLAIMER
  53.     It's your fault :-) 
  54.  
  55.     AUTHOR
  56.     Please send any comments to me. I can be reached at 2:238/38.0@fidonet
  57.     or 39:140/110.0@amiganet. Email: rolf@hoa.ping.dk
  58.  
  59.     HISTORY 
  60.     1.4  First release
  61.     2.0  Second release :-)
  62.